Skip to content

generic-family: cursive definition is too narrow #39568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Artoria2e5 opened this issue May 19, 2025 · 2 comments
Open

generic-family: cursive definition is too narrow #39568

Artoria2e5 opened this issue May 19, 2025 · 2 comments
Labels
Content:CSS Cascading Style Sheets docs goal: clarity (Experimental label) Issues about unclear/confusing/inconcise content. needs info Needs more information to review or act on.

Comments

@Artoria2e5
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/generic-family

What specific section or headline is this issue about?

Values

What information was incorrect, unhelpful, or incomplete?

The current definition takes "cursive" literally. However, it is supposed to mean "any handwritten-style font", which notably does not exclude Comic Sans. See:

Glyphs in cursive fonts generally use a script style, and the result looks more like handwritten pen or brush writing than printed letterwork. CSS uses the term "cursive" to apply to a font for any script, although other names such as Chancery, Brush, Swing and Script are also used in font names.
https://drafts.csswg.org/css-fonts/#cursive-def

'cursive': fonts that emulate handwriting
Comic Sans MS, Comic Sans, cursive
https://www.w3.org/Style/Examples/007/fonts.en.html

What did you expect to see?

A broadened definition in line with the spec.

Do you have any supporting links, references, or citations?

Already posted.

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@Artoria2e5 Artoria2e5 added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label May 19, 2025
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label May 19, 2025
@caugner caugner added the goal: clarity (Experimental label) Issues about unclear/confusing/inconcise content. label May 20, 2025
@Josh-Cena Josh-Cena added help wanted If you know something about this topic, we would love your help! and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels May 21, 2025
@Josh-Cena Josh-Cena changed the title generic-family: what is a cursive? generic-family: cursive definition is too narrow May 21, 2025
@Josh-Cena
Copy link
Member

What you said is against the examples given in https://drafts.csswg.org/css-fonts/#generic-font-families, though. Comic Sans is given under fantasy, and cursive includes traditional cursive fonts.

@Josh-Cena Josh-Cena added needs info Needs more information to review or act on. and removed help wanted If you know something about this topic, we would love your help! labels May 21, 2025
@Artoria2e5
Copy link
Author

Huh... Might be a semantic shift...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs goal: clarity (Experimental label) Issues about unclear/confusing/inconcise content. needs info Needs more information to review or act on.
Projects
None yet
Development

No branches or pull requests

3 participants